home *** CD-ROM | disk | FTP | other *** search
- /*************************************************************************************************
- *
- * xDEFJump.h - allows embedded xDEFs to be called internally
- *
- *
- * 13/7/94 Graham Cox
- *
- *
- *************************************************************************************************/
-
-
- #include "MixedMode.h"
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- #pragma options align= mac68k
-
- typedef struct
- {
- short Jmp; // jmp instruction
- void* Routine; // address to jump to
- }
- JmpInstructionTemplate;
-
- #pragma options align= reset
-
-
-
- Handle GetUniversalFunctionHandle(ProcPtr functionAddress,ProcInfoType pInfo);
- void PatchJmpInstruction(void* patchAddress, void* jumpAddress);
-
-
- #ifdef __cplusplus
- }
- #endif
-